package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.AidProjectProgressArg;
import com.teamall.web.fpxm.db.po.AidProjectProgressPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IAidProjectProgressMapper {
    
    List<Integer> countByArg(AidProjectProgressArg arg);

    List<AidProjectProgressPO> selectByArg(AidProjectProgressArg arg);

    AidProjectProgressPO selectByPrimaryKey(Integer id);

    List<AidProjectProgressPO> selectByArgAndPage(AidProjectProgressArg arg, RowBounds rowBound);

    int insert(AidProjectProgressPO record);

    int insertSelective(AidProjectProgressPO record);

    int insertBatch(@Param("list") List<AidProjectProgressPO> records);

    int updateByArgSelective(@Param("record") AidProjectProgressPO record,
            @Param("arg") AidProjectProgressArg arg);

    int updateByArg(@Param("record") AidProjectProgressPO record,
            @Param("arg") AidProjectProgressArg arg);

    int updateByPrimaryKeySelective(AidProjectProgressPO record);

    int updateByPrimaryKey(AidProjectProgressPO record);
    
    int deleteByArg(AidProjectProgressArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}